<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<style type="text/css">
body
{
	text-align: center;
}
.boxed {
margin-left: auto ;
margin-right: auto ;
width: 300px; 
height: 200px;
border-style: groove;
border-color: #c0c0c0;
background-color:#c0c0c0;
text-align: center ;
}
</style>

<title>Login</title>
</head>

<body>
<br>
<br>
<br>
<br>
<br>
<h2 align="center">Online Aptitude Exam</h2>

<div><s:actionerror /></div>
<div class="boxed">
<s:form action="login" method="post" >
<br>
<br>	
	<s:textfield name="username" key="label.username" size="20" />
	<s:password name="password" key="label.password" size="20" />	
	<br>	
	<s:submit method="authenticate" key="label.login" align="center" namespace="/"/>
</s:form>
</div>
<br>
<s:url value="ForgotPassword.jsp" var="forgot" />
<s:url value="ChangePassword.jsp" var="change" />
<s:a href="%{forgot}" >Forgot your username or password?</s:a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<s:a href="%{change}" >Change your password here</s:a>
<br>
<br>
<br>
<div align="left">
INSTRUCTIONS
<br>

<br>
1.Supported browsers - IE 7 and 8. 
<br>
2.Do not use browser buttons for forward/back/refresh.
<br>
3.Firefox can be used with the limitation that multiple browser sessions cannot be opened at the same time.
<br>
4.Do not use multiple tabs.
<br>
5.Tests will be auto-completed when time is up.
<br>
6.Cookies must be enabled
</div>
</body>
</html>
